Repository navigation
Conversation
The Co-authored-by should be used to give attribution to a real person, not to ai tools.
Documentation build overview
|
| In commit messages, do not add a ``Co-authored-by`` trailer, or any other | ||
| attribution trailer, that names an AI tool. ``Co-authored-by`` should be | ||
| reserved for human contributors. Exceptions are for the bots and tools | ||
| installed by the core team, such as ``blurb-it[bot]`` and ``dependabot[bot]``. |
There was a problem hiding this comment.
I don't think we need to add the bots note? They are added by processes contributors don’t' control.
There was a problem hiding this comment.
I thought it was worth being explicit, or at least document, that there are other non-human tools that could use this trailer.
There was a problem hiding this comment.
I worry "tools installed by the core team" is hard to pin down and reads as a possible loophole. For example, I have claude installed, but we don't want its trailer. Since the rule is about trailers contributors add, the bot ones don't need an exception.
There was a problem hiding this comment.
the claude app you installed is to your own GitHub account, and not to the org?
There was a problem hiding this comment.
the claude app you installed is to your own GitHub account, and not to the org?
Yes, but the current sentence doesn't say that, so I'm a little worried about its vagueness.
There was a problem hiding this comment.
Ok I think my intention here is to refer to the org-installed app. I can clarify that.
There was a problem hiding this comment.
Wording updated to be explicitly about apps installed on the org.
| Many AI coding tools add this trailer by default, so check your tool's | ||
| settings and your commits. |
There was a problem hiding this comment.
why? we use squash merge. what appears in branch commit messages in PRs themselves is irrelevant.
The Co-authored-by should be used to give attribution to a real person, not to ai tools. Adding this to the CPython AGENTS.md file as well as to the DevGuide AI Tools section.
Related to: #1950